package net.oschina.app.pages;

import android.widget.ImageView;

import net.oschina.app.SoloWrap;

/**
 * Created by Administrator on 2018/3/19.
 */

public class PageMyTab {
    private SoloWrap solo;
    private ImageView loginIcon,settingIcon;


    public PageMyTab(SoloWrap solo){
        this.solo=solo;
    }

    public void initViews(){
        loginIcon=(ImageView) solo.getView("net.oschina.app:id/iv_portrait");
        settingIcon=(ImageView)solo.getView("net.oschina.app:id/iv_logo_setting");
    }

    public void clickLoginIcon(){
        solo.clickOnView(loginIcon);
    }

    public void clickSettingIcon(){
        solo.clickOnView(settingIcon);
    }
}
